package com.book.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.security.PrivateKey;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("book_info")
public class BookInfo {
    @TableId("id")
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("author")
    private String author;
    @TableField("publish")
    private String publish;
    @TableField("isbn")
    private String isbn;
    @TableField("introduction")
    private String introduction;
    @TableField("language")
    private String language;
    @TableField("price")
    private Double price;
    @TableField("publish_date")
    private LocalDateTime publishDate;
    @TableField("type_id")
    private Integer typeId;
    @TableField("status")
    private Integer status;
}
